gcc-4.5-spu software package provides SPU cross-compiler (preprocessor and C compiler), you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install gcc-4.5-spu
gcc-4.5-spu is installed in your system.
Make ensure the gcc-4.5-spu package were installed using the commands given below,
$ sudo dpkg-query -l | grep gcc-4.5-spu *
You will get with gcc-4.5-spu package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Development |
| Package | gcc-4.5-spu |
| Version | 4.5.3-12ubuntu2 |
| Description | SPU cross-compiler (preprocessor and C compiler) |
| Sub Section | devel |